package zuoye;

import java.io.File;
import java.io.IOException;

//在当前项目目录下新建100个文件，名字为："1.txt"---"100txt"
public class Test01 {
    public static void main(String[] args) throws IOException {
        for (int i = 0;i<101;i++){
            File file = new File("./"+i+".txt");
            if (!file.exists()){
                file.createNewFile();
            }
        }


    }
}
